package com.example.visitmanage.repo

import com.example.lib_base.http.HttpType
import com.example.lib_base.http.NotWorkFactory
import com.example.lib_base.mvvm.BaseRepo
import com.example.visitmanage.APIService
import javax.inject.Inject
import okhttp3.RequestBody

class VisitManagerRepo  @Inject constructor(): BaseRepo() {
    val apiService by lazy { NotWorkFactory.getRetrofit(HttpType.TOKEN).create(APIService::class.java) }

    suspend fun addVisister(body: RequestBody) = apiService.addVisister(body)
}